4 # Copyright (c) 2006 Microsoft Corporation. All rights reserved.
6 # The use and distribution terms for this software are contained in the file
7 # named license.txt, which can be found in the root of this distribution.
8 # By using this software in any fashion, you are agreeing to be bound by the
9 # terms of this license.
11 # You must not remove this notice, or any other, from this software.
15 ### nmmsg.txt -- Message text file for NMAKE ###################################
18 # Message file used by mkmsg to create .H header file and .ASM file for all the
19 # messages given by NMAKE.
22 # Don't renumber 1030-1039 or 1016 or 1000-1007. These messages are used by
23 # lexer and parser for syntax errors and are accessed through error masks.
25 ################################################################################
31 SYNTAX_NO_PAREN 1000 syntax error : ')' missing in macro invocation
32 SYNTAX_BAD_CHAR 1001 syntax error : illegal character '%c' in macro
33 SYNTAX_ONE_DOLLAR 1002 syntax error : invalid macro invocation '$'
34 SYNTAX_NO_EQUALS 1003 syntax error : '=' missing in macro
35 SYNTAX_NO_MACRO_NAME 1004 syntax error : macro name missing
36 SYNTAX_NO_SEQUENCE 1005 syntax error : text must follow ':' in macro
37 SYNTAX_NO_QUOTE 1006 syntax error : missing closing double quotation mark
38 SYNTAX_QUOTE_UNEXPECTED 1007 double quotation mark not allowed in name
43 SYNTAX_BAD_DIRECTIVE 1017 unknown directive '!%s'
44 SYNTAX_MISSING_DIRECTIVE 1018 directive and/or expression part missing
45 SYNTAX_TOO_MANY_IFS 1019 too many nested !IF blocks
46 SYNTAX_EOF_NO_DIRECTIVE 1020 end-of-file found before next directive
47 SYNTAX_UNEXPECTED_ELSE 1021 syntax error : !ELSE unexpected
48 SYNTAX_MISSING_END_CHAR 1022 missing terminating character for string/program invocation : '%c'
49 SYNTAX_INVALID_EXPR 1023 syntax error in expression
50 SYNTAX_BAD_CMDSWITCHES 1024 illegal argument to !CMDSWITCHES
51 SYNTAX_UNEXPECTED_ENDIF 1025 syntax error : !ENDIF unexpected
52 SYNTAX_NO_NAME 1031 filename missing (or macro is null)
53 SYNTAX_UNEXPECTED_TOKEN 1033 syntax error : '%s' unexpected
54 SYNTAX_NO_SEPARATOR 1034 syntax error : separator missing
55 SYNTAX_NO_SEP_OR_EQUALS 1035 syntax error : expected ':' or '=' separator
56 SYNTAX_TOO_MANY_NAMES 1036 syntax error : too many names to left of '='
57 SYNTAX_NO_TARGET_NAME 1037 syntax error : target name missing
60 # Internal errors and other errors
62 LEXER_INTERNAL 1038 internal error : lexer
63 PARSER_INTERNAL 1039 internal error : parser
64 MACRO_INTERNAL 1040 internal error : macro expansion
65 BUILD_INTERNAL 1041 internal error : target building
66 EXPR_TOO_LONG_INTERNAL 1042 internal error : expression stack overflow
67 TOO_MANY_TMP_FILES_INTERNAL 1043 internal error : temp file limit exceeded
68 #TOO_MANY_BUILDS_INTERNAL 1044 internal error : too many levels of recursion building a target
69 SPAWN_FAILED_ERROR 1045 spawn failed : %s
70 OUT_OF_SEARCH_HANDLES 1046 internal error : out of search handles
71 MISSING_ARG_BEFORE_PAREN 1047 argument before ')' expands to nothing
74 # User controlled and DOS related errors
76 CANT_WRITE_FILE 1048 cannot write to file '%s'
77 MACRO_TOO_LONG 1049 macro or inline file too long (maximum : 64K)
78 USER_CONTROLLED 1050 %s
79 OUT_OF_MEMORY 1051 out of memory
80 CANT_OPEN_FILE 1052 file '%s' not found
81 CANT_READ_FILE 1053 file '%s' unreadable
82 CANT_MAKE_INLINE 1054 cannot create inline file '%s'
83 OUT_OF_ENV_SPACE 1055 out of environment space
84 NO_COMMAND_COM 1056 cannot find command processor
85 BAD_UNLINK 1057 cannot delete temporary file '%s'
86 USER_INTERRUPT 1058 terminated by user
87 MISSING_CLOSING_BRACE 1059 syntax error : '}' missing in dependent
88 #OLD_MAKE_ERROR 1059 could not execute MAKE.EXE
89 ERROR_CLOSING_FILE 1060 unable to close file : '%s'
92 # Errors with command line syntax
94 CMDLINE_F_NO_FILENAME 1061 /F option requires a filename
95 CMDLINE_X_NO_FILENAME 1062 missing filename with /X option
96 CMDLINE_NO_MACRONAME 1063 missing macro name before '='
97 CMDLINE_NO_MAKEFILE 1064 MAKEFILE not found and no target specified
98 CMDLINE_BAD_OPTION 1065 invalid option '%c'
99 #CMDLINE_N_Z_INCOMPATIBLE 1066 option /N not supported; use NMAKE /N
102 # Errors while building targets and miscellaneous
104 NO_WILDCARD_MATCH 1069 no match found for wildcard '%s'
105 CYCLE_IN_MACRODEF 1070 cycle in macro definition '%s'
106 CYCLE_IN_TREE 1071 cycle in dependency tree for target '%s'
107 CYCLE_IN_INCLUDES 1072 cycle in include files : '%s'
108 CANT_MAKE_TARGET 1073 don't know how to make '%s'
109 #MACRODEF_TOO_LONG 1074 macro definition too long
110 #STRING_TOO_LONG 1075 string too long
111 NAME_TOO_LONG 1076 name too long
112 BAD_RETURN_CODE 1077 '%s' : return code '0x%x'
113 CONST_TOO_BIG 1078 constant overflow at '%s'
114 DIVIDE_BY_ZERO 1079 illegal expression : divide by zero
115 BAD_OP_TYPES 1080 operator and/or operand usage illegal
116 CANT_FIND_PROGRAM 1081 '%s' : program not found
117 EXEC_NO_MEM 1082 '%s' : cannot execute command; out of memory
118 TARGET_MACRO_IS_NULL 1083 target macro '%s' expands to nothing
119 CANT_CREATE_TEMP 1084 cannot create temporary file '%s'
122 # Errors with inference rules and explicit rules
124 MIXED_RULES 1085 cannot mix implicit and explicit rules
125 DEPENDENTS_ON_RULE 1086 inference rule cannot have dependents
126 MIXED_SEPARATORS 1087 cannot have : and :: dependents for same target
127 BAD_SEPARATOR 1088 invalid separator '::' on inference rule
128 CMDS_ON_PSEUDO 1089 cannot have build commands for directive '%s'
129 DEPS_ON_PSEUDO 1090 cannot have dependents for directive '%s'
130 #BAD_RULE 1091 invalid suffixes in inference rule
131 TOO_MANY_RULE_NAMES 1092 too many names in rule
132 MIXED_TARGETS 1093 cannot mix dot directives
134 # Fatal errors (Extensions)
137 SYNTAX_KEEP_INLINE_FILE 1094 syntax error : only (NO)KEEP allowed here
138 COMMAND_TOO_LONG 1095 expanded command line '%s' too long
139 EXTMAKE_CANNOT_OPEN 1096 cannot open inline file '%s'
140 EXTMAKE_NO_FILENAME 1097 filename-parts syntax requires dependent
141 EXTMAKE_BAD_SYNTAX 1098 illegal filename-parts syntax in '%s'
142 #Cannot use 1099 ... it's a nmake runtime error
143 BAD_BATCH_MACRO 1100 macro '%s' is illegal in the context of batch rule '%s'
144 CANT_SUPPORT_UNICODE 1101 nmake does not support unicode/utf8 files
149 OUT_OF_HANDLES 2001 no more file handles (too many files open)
153 SYNTAX_CMDFILE 4001 command file can be invoked only from command line
154 RESETTING_MACRO 4002 resetting value of special macro '%s'
155 #NO_WILDCARD_MATCH 4003 no match found for wildcard '%s'
156 TOO_MANY_RULES 4004 too many rules for target '%s'
157 IGNORING_RULE 4005 ignoring rule '%s' (extension not in .SUFFIXES)
158 ILLEGAL_SPECIAL_MACRO 4006 special macro undefined : '%s'
159 TRUNCATING_FILENAME 4007 filename '%s' too long; truncating to 8.3
160 REMOVED_TARGET 4008 removed target '%s'
161 #DUPLICATE_INLINE_FILE 4009 duplicate inline file '%s'
162 BUILD_FAILED_SLASH_K 4010 '%s' : build failed; /K specified, continuing ...
163 TARGET_ERROR_IN_CHILD 4011 '%s' : not all dependents available; target not built
167 FILE_DOESNT_EXIST 1 file %s doesn't exist
168 TARGET_UP_TO_DATE 2 '%s' is up-to-date
169 UPDATE_INFO 3 ** %s newer than %s
170 TIME_FORMAT 4 %*s%-14s %*s
171 TOUCHING_TARGET 5 \ttouch %s
172 TARGET_DOESNT_EXIST 6 %*s%-14s target does not exist
173 INFERENCE_MESSAGE 7 \nINFERENCE RULES:\n
174 MACROS_MESSAGE 8 \nMACROS:\n
175 TARGETS_MESSAGE 9 \nTARGETS:\n
176 COMMANDS_MESSAGE 10 \n\tcommands:\t
177 FLAGS_MESSAGE 11 \n\tflags:\t
178 DEPENDENTS_MESSAGE 12 \n\tdependents:\t
180 MACRO_DEFINITION 14 %13s = %s\n
181 MSG_IDE_BUILD 15 Building: %s
183 # Messages for stderr
185 FATAL_ERROR_MESSAGE 20 fatal error
186 ERROR_MESSAGE 21 error
187 WARNING_MESSAGE 22 warning
188 STOP_MESSAGE 23 Stop.\n
189 COPYRIGHT_MESSAGE_1 24 Microsoft (R) Program Maintenance Utility Version %s
190 COPYRIGHT_MESSAGE_2 25 Copyright (C) Microsoft Corporation. All rights reserved.\n
192 # Help option messages
195 # 1 Add lines for help option between MESG_FIRST and MESG_LAST only
196 # 2 in the output no '\n' is printed after MESG_LAST gets printed
199 MESG_FIRST 100 Usage: %s @commandfile
200 MESG_USAGE 101 \t%s [options] [/f makefile] [/x stderrfile] [macrodefs] [targets]\n
201 MESG_WHERE 102 Options:\n
202 MESG_A 103 -A Build all evaluated targets
203 MESG_B 104 -B Build if time stamps are equal
204 MESG_C 105 -C Suppress output messages
205 MESG_D 106 -D Display build information
206 MESG_E 107 -E Override env-var macros
207 MESG_HELP 108 -HELP Display brief usage message
208 MESG_I 109 -I Ignore exit codes from commands
209 MESG_K 110 -K Build unrelated targets on error
210 MESG_M 111 -M Ignore extended/expanded memory
211 MESG_N 112 -N Display commands but do not execute
212 MESG_L 113 -NOLOGO Suppress copyright message
213 MESG_P 114 -P Display NMAKE information
214 MESG_Q 115 -Q Check time stamps but do not build
215 MESG_R 116 -R Ignore predefined rules/macros
216 MESG_S 117 -S Suppress executed-commands display
217 MESG_T 118 -T Change time stamps but do not build
218 MESG_V 119 -V Inherit macros during recursion
219 MESG_U 120 -U Dump inline files
220 MESG_Y 121 -Y Disable batch-mode
221 MESG_LAST 122 -? Display brief usage message\n
222 #This message is used to format the other messages in a 2-col format
223 MESG_OPTIONS 125 %-39s%s